<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="lr" uri="/jing/yue/loadresource" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>发布推广信息</title>
</head>
<body>
类型: 	<select id="parentSpreadtypeid" onchange="selectParentSpreadType($(this).val());">
			<c:forEach items="${tbSpreadTypes}" var="info">
				<option value="${info.id}">${info.name}</option>
			</c:forEach>
		</select>
		<select id="spreadtypeid" name="spreadtypeid"></select>
<br />
内容: <textarea id="content" name="content" rows="" cols=""></textarea>
<br />
图片:<input type="file" id="file" name="file" onchange="infoFileUpload();"/>
<img id="infoLoading" alt="上传中..." src="resources/images/loading.gif" style="display: none;"/>
<input type="hidden" id="img" />
<br />
<input type="button" id="addSpreadinfo" value="发布"/>
</body>
<lr:js webroot="${pageContext.request.contextPath}" jslibs="tbSpreadinfoAdd"/>
</html>